.class Les/ie0;
.super Les/ge0;
.source "OBEXClientOperationPut.java"


# direct methods
.method constructor <init>(Les/je0;Les/le0;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x2

    .line 1
    invoke-direct {p0, p1, v0, p2}, Les/ge0;-><init>(Les/je0;CLes/le0;)V

    return-void
.end method


# virtual methods
.method public a()Ljava/io/InputStream;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Les/ge0;->j()V

    .line 2
    iget-boolean v0, p0, Les/ge0;->i:Z

    if-nez v0, :cond_0

    const-string v0, "openInputStream"

    .line 3
    invoke-static {v0}, Les/be0;->a(Ljava/lang/String;)V

    const/4 v0, 0x1

    .line 4
    iput-boolean v0, p0, Les/ge0;->i:Z

    .line 5
    iget-object v0, p0, Les/ge0;->h:Les/oe0;

    return-object v0

    .line 6
    :cond_0
    new-instance v0, Ljava/io/IOException;

    const-string v1, "input stream already open"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public h()Ljava/io/OutputStream;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Les/ge0;->j()V

    .line 2
    iget-boolean v0, p0, Les/ge0;->g:Z

    if-nez v0, :cond_0

    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Les/ge0;->g:Z

    .line 4
    new-instance v0, Les/pe0;

    iget-object v1, p0, Les/ge0;->a:Les/je0;

    iget v1, v1, Les/ve0;->f:I

    invoke-direct {v0, v1, p0}, Les/pe0;-><init>(ILes/ne0;)V

    iput-object v0, p0, Les/ge0;->f:Les/pe0;

    return-object v0

    .line 5
    :cond_0
    new-instance v0, Ljava/io/IOException;

    const-string v1, "output already open"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
.end method
